﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Shop.Intermediate.Data;

namespace Shop.Intermediate.Repository
{
    public interface IBasicTypeRepository:IPageSplit
    {
        void Create(IBasicType entity);
        void Update(IBasicType entity);
        IBasicType GetEntity(string code);
        void Delete(string code);
        IEnumerable<IBasicType> GetList();
        IEnumerable<IBasicType> GetList(string condition, object[] obj);
        IEnumerable<IBasicType> GetList(string condition, object[] whereObj, string ordering, object[] orderObj);
        IEnumerable<IBasicType> GetList(int rownumber, string condition, object[] whereObj, string ordering, object[] orderObj);
        void SubmitChanges();
    }
}
